<!--

生成最基本的Restful模板页面

顶部有按（门店、时间段*）查询 添加按钮

包含一个 ag-grid 列表，默认表头只有一行，每列都可查询，默认每条最后有打开、删除按钮

有新增、修改弹出层
-->

<div class="view-header">

    <!-- 查询 -->
    <div>
        <div class="search-shop">
            <input type="text" ng-model="search_params.mobile" placeholder="电话" class="ng-pristine ng-valid">
            <i class="fa fa-mobile-phone"></i>
        </div>

        <div class="search-date">
            <i class="fa fa-calendar search-date-i"></i>
            <datetimepicker class="search-date-start"
                            min-view="2"
                            end-date="search_params.date_end"
                            ng-model="search_params.date_start"></datetimepicker>

        </div>
        <div class="search-date">
            <i class="fa fa-calendar search-date-i"></i>
            <datetimepicker class="search-date-end"
                            min-view="2"
                            start-date="search_params.date_start"
                            ng-model="search_params.date_end"></datetimepicker>
        </div>
        <div class="view-header-left">
            <div class="view-header-item no-widen"
                 ng-click="refresh()" title="查询">
                <i class="fa fa-search"></i>
            </div>

            <a class="view-header-item no-widen" href="/api/member/members/export_member?start={{search_params.date_start}}&end={{search_params.date_end}}" target="_blank"
                  title="导出">
                <i class="fa fa-download"></i>
            </a>
        </div>
    </div>


</div>
<div class="view-content ">
    <div ag-grid="grid" class="ag-material" style="height :100%"></div>
</div>
